package mirrormonkey.util.netevent.client.tools;

import com.jme3.network.Client;
import com.jme3.network.ClientStateListener;
import com.jme3.network.ErrorListener;
import com.jme3.network.Message;
import com.jme3.network.MessageListener;

/**
 * Does absolutely nothing, but we need non-null <tt>Client</tt> references for
 * testing.
 * 
 * @author Philipp Christian Loewner
 * 
 */
public class MockClient implements Client {

	@Override
	public void start() {
	}

	@Override
	public boolean isConnected() {
		return false;
	}

	@Override
	public int getId() {
		return 0;
	}

	@Override
	public String getGameName() {
		return null;
	}

	@Override
	public int getVersion() {
		return 0;
	}

	@Override
	public void send(Message message) {
	}

	@Override
	public void close() {
	}

	@Override
	public void addClientStateListener(ClientStateListener listener) {
	}

	@Override
	public void removeClientStateListener(ClientStateListener listener) {
	}

	@Override
	public void addMessageListener(MessageListener<? super Client> listener) {
	}

	@Override
	@SuppressWarnings("rawtypes")
	public void addMessageListener(MessageListener<? super Client> listener,
			Class... classes) {
	}

	@Override
	public void removeMessageListener(MessageListener<? super Client> listener) {
	}

	@Override
	@SuppressWarnings("rawtypes")
	public void removeMessageListener(MessageListener<? super Client> listener,
			Class... classes) {
	}

	@Override
	public void addErrorListener(ErrorListener<? super Client> listener) {
	}

	@Override
	public void removeErrorListener(ErrorListener<? super Client> listener) {
	}

	@Override
	public void send(int arg0, Message arg1) {
	}
}
